/* Default CSS */
body {
	margin: 0;
	padding: 0;
	font-family: 'Average Sans', sans-serif;
}

#content {
	padding: 20px 0 0 40px;
}

/* Link formating CSS */
a {
	color: #000000;
	text-decoration: none;
	cursor: pointer;
}

a:link {
	text-decoration: none;
}

a:visited {
	text-decoration: none;
}

a:hover {
	color: #D15600;
	text-decoration: none;
}

a:active {
	text-decoration: none;
}

/* Header CSS */
#guestMenu,#userOptions,#submitButton {
	margin-right: 20px;
	margin-top: 6px;
	float: right;
}

.headerlinks {
	border: 1px solid;
	color: #FFFFFF;
	padding: 2px 5px;
	text-align: center;
}

.subHeaderFields .headerlinks {
	margin-left: 3px;
	margin-right: 13px;
	margin-top: 8px;
	display: block;
}

.replyBox .headerlinks {
	margin-left: 10px;
    margin-top: 133px;
    position: absolute;
}

.replyBox a.headerlinks:hover {
	background-color: #DDDDDD;
}

#headerMenu .headerlinks {
	float: right;
	margin: -2px 10px;
	width: 60px;
}

#headerMenu input {
	font-size: 1em;
	color: #808080;
}

a.headerlinks:hover {
	background-color: #909090;
	color: #FFFFFF;
}

.subHeaderFields a.headerlinks:hover {
	background-color: #DDDDDD;
}

#submitButton {
	float: left;
}

#submitButton .headerlinks {
	width: 120px;
}

#userOptions {
	float: right;
}

/* Containers */
#header {
	background-color: grey;
	color: white;
	width: 100%;
	height: 55px;
}

#headerLogo {
	float: left;
	width: 110px;
	margin-left: 15px;
}

#headerMenu {
	margin-header: 30px;
}

#headerMenu {
	padding-top: 10px;
}

/* SubHeader CSS */
#registerBox,#submitLinkBox {
	display: none;
}

.subHeader {
	background-color: #D3D3D3;
	padding: 0 0 10px 50px;
}

#submitLinkBox .subHeader {
	height: 150px;
}

#registerBox .subHeader {
	height: 190px;
}

.subHeader>div {
	float: left;
	margin-top: 30px;
}

.subHeaderDesc {
	margin-left: 20px;
}

.subHeaderFields {
	margin-left: 40px;
}

.subHeaderFields input {
	width: 400px;
	float: left;
	margin-top: 5px;
	padding-left: 5px;
	font-size: 18px;
	color: #000000;
}

/* Links/Comments*/
.votesAndScore {
	float: left;
	margin-right: 15px;
	width: 60px;
	height: 95px;
}

.score {
	font-size: 2em;
	font-weight: bold;
	text-align: center;
	display: block;
}

.upVote {
	background-image: url(/WhiteIt/img/upVoteBlank.png);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 25px;
	display: block;
	height: 25px;
}

a:hover.upVote {
	background-image: url(/WhiteIt/img/upVote.png);
}

.replyBox {
	width: 100%;
	float: left;
	margin-bottom: 30px;
	margin-top: 10px;
	margin-left: -440px;
	padding-left: 500px;
	position: relative;
}

.replyBox textarea {
	margin-top: 20px;
	margin-bottom: 20px;
	width: 400px;
	height: 130px;
	font-family: 'Average Sans',sans-serif;
	font-size: 1em;
	padding: 5px;
	resize: none;
}

.downVote {
	background-image: url(/WhiteIt/img/downVoteBlank.png);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 25px;
	display: block;
	height: 25px;
}

a:hover.downVote {
	background-image: url(/WhiteIt/img/downVote.png);
}

.commentBox,.linkBox {
	margin: 0 60px;
	padding: 15px 0;
	clear: left;
}

.commentText p {
	font-size: 1em;
}

.linkBox {
	margin-left: 20px;
}

.replyLink {
	margin-top: 5px;
	width: 150px;
	border-top: 1px solid black;
	display: inline-block;
}

/* Elements */
h1 {
	margin-top: 0px;
	margin-bottom: 3px;
}

#header h1 {
	margin-top: 5px;
	margin-bottom: 3px;
}

#header h1 a {
	color: #ffffff;
}

p {
	margin: 0px;
	font-size: large;
}

.bold {
	font-weight: bold;
}

.greyedOut,.greyedOut * {
	color: #808080;
	border-color: #808080 !important;
	font-weight: normal;
}

.greyForm {
	margin-left: -2000px;
	background-color: #D3D3D3;
}

.commentDescription .messageImg {
	float: left;
	margin-top: -8px;
	margin-left: -6px;
}

.commentDescription>div {
	margin-top: 5px;
}

/* Primefaces CSS Hacks */
.ui-inputfield,.ui-widget-content .ui-inputfield,.ui-widget-header .ui-inputfield
	{
	box-shadow: none;
}

.ui-corner-all {
	border-radius: 0;
}

.ui-inputfield.ui-state-focus,.ui-widget-content .ui-inputfield.ui-state-focus,.ui-widget-header .ui-inputfield.ui-state-focus
	{
	box-shadow: none;
}

.ui-inputfield {
	margin-left: 5px;
	margin-right: 10px;
	margin-top: -2px;
	padding: 2px 5px;
}

.ui-widget {
	font-family: 'Average Sans', sans-serif;
	font-size: 1em;
}

.ui-messages-info,.ui-messages-warn,.ui-messages-error,.ui-messages-fatal
	{
	margin: 0;
}

.subcomments {
	clear: left;
	padding-top: 10px;
}